package edu.pku.sei.act.actools.util;

import java.util.List;

import org.json.JSONObject;

public class Role {

	String roleName;
	List<Capability> capabilities;
	String rewards;

	public String getDescriptor() {
		return ACToolsNamingSpace.EnvInfo.ROLE_DESCRIPTOR + ","
				+ toString();
	}
	
	public Role() {
		JSONObject j;
		
	}

	public Role(String descriptor) {

	}

	public String toString() {
		String rs = roleName;
		for(int i = 0; i < capabilities.size(); i++) {
			roleName = roleName + "," + capabilities.get(i);
		}
		return null;
	}

	public String getRoleName() {
		return roleName;
	}
}
